let $db := doc("xp")
return (
	for $y in $db/ranking/rankings/notationRanking//notation 
	return 
		for $z at $rank in $y//user 
		return 
			replace value of node $z/rank with $rank,
	for $user at $rank in $db//inscriptionRanking//user
	return 
		replace value of node $user/rank with $rank,
	for $xp in $db/ranking/rankings/globalRanking//xp
	return 
		for $user at $rank in $xp/user
		return 
			replace value of node $user/rank with $rank
)